<?php

class Social_Form_Admin_Settings_Twitter extends Core_Form_Admin_Settings_Base
{
    protected function _init()
    {

        $this -> setName('form_social_settings') -> setTitle('@self') -> setDesc('@self');

        /**
         * @twitter
         */
        $this -> addElement('@radio', 'social_twitter_enable', array(
            'label' => '@self',
            'desc' => '@self',
            'multiOptions' => array(
                'on' => 'yes',
                'off' => 'no'
            ),
            'value' => 'off'
        ));

        $this -> addElement('@title', 'social_twitter_key', array(
            'label' => '@self',
            'desc' => '@self'
        ));

        $this -> addElement('@title', 'social_twitter_secret', array(
            'label' => '@self',
            'desc' => '@self'
        ));

        $this -> addElement('@group', 'buttons');

        $this -> buttons -> addElement('@submit', '_submit') -> addElement('@cancel', '_cancel');

    }

}
